import request from '@/plugins/axios/request';
const baseURL = process.env.VUE_APP_BASE_API

// 供应商-分页查询
export function getList(data) {
  return request({
    url: `${baseURL}/tech-supplier/getList`,
    method: "post",
    data: data,
  });
}
// 供应商-新增
export function addSupplier(data) {
  return request({
    url: `${baseURL}/tech-supplier/add`,
    method: "post",
    data: data,
  });
}
// 供应商-编辑
export function updateSupplier(data) {
  return request({
    url: `${baseURL}/tech-supplier/update`,
    method: "post",
    data: data,
  });
}
// 供应商-删除
export function deleteSupplier(data) {
  return request({
    url: `${baseURL}/tech-supplier/delete`,
    method: "post",
    data: data,
  });
}
